#ifndef __K210_REG_GPIOHS_H__
#define __K210_REG_GPIOHS_H__

#define K210_GPIOHS_BASE	(0x38001000)

enum {
	GPIOHS_INPUT_VAL		= 0x00,
	GPIOHS_INPUT_EN			= 0x04,
	GPIOHS_OUTPUT_EN		= 0x08,
	GPIOHS_OUTPUT_VAL		= 0x0c,
	GPIOHS_PULLUP_EN		= 0x10,
	GPIOHS_DRIVE			= 0x14,
	GPIOHS_RISE_IE			= 0x18,
	GPIOHS_RISE_IP			= 0x1c,
	GPIOHS_FALL_IE			= 0x20,
	GPIOHS_FALL_IP			= 0x24,
	GPIOHS_HIGH_IE			= 0x28,
	GPIOHS_HIGH_IP			= 0x2c,
	GPIOHS_LOW_IE			= 0x30,
	GPIOHS_LOW_IP			= 0x34,
	GPIOHS_IOF_EN			= 0x38,
	GPIOHS_IOF_SEL			= 0x3c,
	GPIOHS_OUTPUT_XOR		= 0x40,
};

#endif /* __K210_REG_GPIOHS_H__ */
